Commit
730fcf34e9 was meant to strip the .desktop suffix from the
desktop directory file, but failed to actually do so: The replace()
method is called on the string parameter before it is passed to
the meson command which substitutes `@BASENAME@`, so it doesn't
have any effect at all.
Really fix the issue by providing the full output name.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3567>
)
endforeach
+desktop_directory = 'X-GNOME-Shell-Utilities.directory'
i18n.merge_file(
- input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
- output: '@BASENAME@'.replace('.desktop', ''),
+ input: f'@desktop_directory@.desktop.in',
+ output: desktop_directory,
po_dir: po_dir,
install: true,
install_dir: join_paths(datadir, 'desktop-directories'),